package com.xiyoukt.springboot.constant;

public enum ResultEnum {
    CANNOT_OPEATION(401, "不能操作"),
    HAS_DELETE(402, "已被删除"),
    PARAM_ERROR(403, "请求参数不合法");

    ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
